package com.vanke.devops.dal.model;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;

import com.vanke.devops.dal.base.BaseModel;
import java.math.BigDecimal;
import java.util.Date;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 陈景阳
 * @since 2018-06-07
 */
public class SwarmCluster extends BaseModel {

	/**
	 * 集群标识
	 */
	private String name;
	/**
	 * leader ip
	 */
	private String leader;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLeader() {
		return leader;
	}

	public void setLeader(String leader) {
		this.leader = leader;
	}

	@Override
	protected Serializable pkVal() {
		return getId();
	}

}
